package com.cx.mapper;

import com.cx.dto.HotelFacilitiy;
import com.cx.pojo.HotelFacilities;
import com.cx.pojo.HotelFacilitiesExample;
import java.util.List;

import com.cx.pojo.HotelPolicy;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HotelFacilitiesMapper {
    int countByExample(HotelFacilitiesExample example);

    int deleteByExample(HotelFacilitiesExample example);

    int insert(HotelFacilities record);

    int insertSelective(HotelFacilities record);

    List<HotelFacilities> selectByExample(HotelFacilitiesExample example);

    int updateByExampleSelective(@Param("record") HotelFacilities record, @Param("example") HotelFacilitiesExample example);

    int updateByExample(@Param("record") HotelFacilities record, @Param("example") HotelFacilitiesExample example);
    List<HotelFacilitiy> findHotelFacilityByHotelName(String hotelName);
}